# -*- coding:utf-8 -*-

from Enterprise_wechat_app.po.base_page import BasePage
from Enterprise_wechat_app.po.edit_member_page import EditMemberPage

from Enterprise_wechat_app.po import utils


class AddMenberPage(BasePage):
    # 读取yaml文件数据
    get_datas = utils.yml_data()
    def add_member_to_EditMemberPage(self):
        """
        点击手动输入添加，跳转到编辑成员资料界面
        :return:
        """
        self.find_xpath_click(self.get_datas.get('Manual_input_add'))
        return EditMemberPage(self.driver)